﻿using System;
using System.Windows.Forms;

namespace TubeBurstAnalysis
{
    internal static class Program
    {


        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        private static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            FormLogin formLogin = new FormLogin
            {
                Visible = false
            };
            formLogin.ShowDialog();
            if (formLogin.DialogResult == DialogResult.OK)
            {
                Application.Run(new FormMain());
            }
            else
            {
                return;
            }

        }
    }
}
